<?php include 'header.php'; ?>

<div style="text-align:left;padding:10px;">
<form method='post' action='/member/upload_icon' 
	enctype="multipart/form-data">
	<h1>Upload head-icon</h1>
	<p>File size must be less than 2M.
		Recommended picture size: 150x176.</p>
	<input type="hidden" name="AId" value="<?= $this->aid; ?>" />
	<input type="hidden" name="MAX_FILE_SIZE" value="2100000" />
	<input type="file" name="file" />
	<input type="submit" value="Submit" />
	<input type="button" value="Cancel" onclick="window.close();" />
	<p style="color:#c33">NOTE: DO NOT close it while uploading.
	This dialog will be auto closed after uploading process is done.</p>
</form>
</div>
<?php include 'footer.php'; ?>
